package ro.gillardon.business.polling.exception;

/**
 * Exception class for storing and handling exceptions from business level. Copy of BusinessException.
 * 
 * @author lorinczi
 */
public class HotelPollingException extends Exception {

  /** default serial version id. */
  private static final long serialVersionUID = 1L;

  /**
   * Instantiates a new business exception.
   */
  public HotelPollingException() {
    super();
  }

  /**
   * Instantiates a new business exception.
   *
   * @param message the message
   * @param cause the cause
   * @param enableSuppression the enable suppression
   * @param writableStackTrace the writable stack trace
   */
  public HotelPollingException(final String message, final Throwable cause, final boolean enableSuppression,
    final boolean writableStackTrace) {
    super(message, cause, enableSuppression, writableStackTrace);
  }

  /**
   * Instantiates a new business exception.
   *
   * @param message the message
   * @param cause the cause
   */
  public HotelPollingException(final String message, final Throwable cause) {
    super(message, cause);
  }

  /**
   * Instantiates a new business exception.
   *
   * @param message the message
   */
  public HotelPollingException(final String message) {
    super(message);
  }

  /**
   * Instantiates a new business exception.
   *
   * @param cause the cause
   */
  public HotelPollingException(final Throwable cause) {
    super(cause);
  }

}
